import turtle

# 初始化画笔
pen = turtle.Turtle()
pen.speed(1)        # 最慢速度
pen.pensize(3)      # 粗线条
pen.color("red")     # 红色线段

# 开始作画
pen.left(180)        # 调转方向
pen.forward(60)     # 向左画横线

pen.left(90)        # 调转方向
pen.forward(120)

pen.left(90)
pen.forward(60)

pen.left(90)
pen.forward(120)

turtle.done()